package com.xxx.shetuan3.controller;
import com.xxx.shetuan3.common.CommonResult;
import com.xxx.shetuan3.pojo.Organization;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/admin")
public class AdminController {
/*
    @ApiOperation(value = "/新增社长")
    @PostMapping("/addchief")
    public CommonResult addChief(String Cheif_name, String cheif_pwd){
        return CommonResult.success();
    }
    @ApiOperation(value = "新增社团（同时添加社长）")
    @PostMapping("/add_chief_and_organization")
    public CommonResult<Organization> addChiefAndOrganization(String organization_id, String organ_name, String cheif_id){
        return CommonResult.success();
    }

    @ApiOperation(value = "删除社长")
    @PostMapping("/deletechief/{cheif_id}")
    public CommonResult delectChief(@PathVariable("chief_id") String cheif_id ){
        return  CommonResult.success();
    }
    @ApiOperation(value = "修改社团名称")
    @PostMapping("/edit_organization_name")
    public CommonResult editOrganizationName(String organization_id ,String Organization_name){
        return CommonResult.success();
    }

    @ApiOperation(value = "修改社团的社长")
    @PostMapping("/edit_organization_chief")
    public CommonResult updateOrganization(String Organization_id, String chief){
        return CommonResult.success();
    }
 */
}

